You can directly get the image after starting getting stream, or adopts asynchronous mode (thread or timer) to get the image.
All the open properties of the camera can be referred to the node sheet "MvCameraNode.xlsx" under the installation directory. The name, definition, data type, value range, and access mode of each node are described in the sheet.
The information of found devices is returned in the structure MV_CC_DEVICE_INFO_LIST by pstDevList.
| Option | Description |
|---|---|
|
Get/Set Camera Bool Node Value |
|
|
Get/Set Camera Enum Node Value |
|
|
Get/Set Camera Float Node Value |
|
|
Get/Set Camera Int Node Value |
|
|
Get/Set Camera String Node Value |
|
|
Set Camera Command Node |
You can get and set the acquisition mode including single frame acquisition, multi-frame acquisition, and continuous acquisition via the API MV_CC_GetEnumValue (handle, "AcquisitionMode", &stEnumValue) and MV_CC_SetEnumValue (handle, "AcquisitionMode", value).
Call MV_CC_SetEnumValue (handle, "TriggerMode", value) to set the triggering mode.
If the triggering mode is enabled, call MV_CC_SetEnumValue (handle, "TriggerSource", value) to set the triggering resource. The triggering source includes triggered by hardware and software.
Call MV_CC_GetFloatValue (handle, " TriggerDelay", &stFloatValue) and MV_CC_SetFloatValue (handle, " TriggerDelay", value) to get and set the triggering delay time.
When triggered by software, call MV_CC_SetCommandValue (handle, "TriggerSoftware ") to capture; when triggered by hardware, capture by device local input.
Before starting the acquisition, you can call MV_CC_SetImageNodeNum to set the number of image cache nodes. When the number of obtained images is larger than this number, the earliest image data will be discarded automatically.
For original image data, you can call MV_CC_ConvertPixelType to convert the image pixel format, or you can call MV_CC_SaveImageEx2 to convert the image to JPEG or BMP format and save as a file.
When getting the frame data, the application program should control the frequency of calling this API according to the frame rate.
You can directly get the image after starting getting stream, or adopts asynchronous mode (thread or timer) to get the image.
All the open properties of the camera can be referred to the node sheet "MvCameraNode.xlsx" under the installation directory. The name, definition, data type, value range, and access mode of each node are described in the sheet.
The information of found devices is returned in the structure MV_CC_DEVICE_INFO_LIST by pstDevList.
| Option | Description |
|---|---|
|
Get/Set Camera Bool Node Value |
|
|
Get/Set Camera Enum Node Value |
|
|
Get/Set Camera Float Node Value |
|
|
Get/Set Camera Int Node Value |
|
|
Get/Set Camera String Node Value |
|
|
Set Camera Command Node |
You can get and set the acquisition mode including single frame acquisition, multi-frame acquisition, and continuous acquisition via the API MV_CC_GetEnumValue (handle, "AcquisitionMode", &stEnumValue) and MV_CC_SetEnumValue (handle, "AcquisitionMode", value).
Call MV_CC_SetEnumValue (handle, "TriggerMode", value) to set the triggering mode.
If the triggering mode is enabled, call MV_CC_SetEnumValue (handle, "TriggerSource", value) to set the triggering resource. The triggering source includes triggered by hardware and software.
Call MV_CC_GetFloatValue (handle, " TriggerDelay", &stFloatValue) and MV_CC_SetFloatValue (handle, " TriggerDelay", value) to get and set the triggering delay time.
When triggered by software, call MV_CC_SetCommandValue (handle, "TriggerSoftware ") to capture; when triggered by hardware, capture by device local input.
Before starting the acquisition, you can call MV_CC_SetImageNodeNum to set the number of image cache nodes. When the number of obtained images is larger than this number, the earliest image data will be discarded automatically.
For original image data, you can call MV_CC_ConvertPixelType to convert the image pixel format, or you can call MV_CC_SaveImageEx2 to convert the image to JPEG or BMP format and save as a file.
When getting the frame data, the application program should control the frequency of calling this API according to the frame rate.